package hibernate.billStream;
import java.util.Date;

import hibernate.administratorAccount.FrontDesk;
import hibernate.p.Pair;
public class ExpenseRec {
	
	protected Date timeFrom,timeTo;
	protected FrontDesk operator;
	protected Long id;
	
	public int getUnitNr(){throw new IllegalStateException("must be overriden");}
	public Pair getTotalPrice(){throw new IllegalStateException("must be overriden");}
	public String getName(){throw new IllegalStateException("must be overriden");}
	public Commodity getCommodity(){throw new IllegalStateException("must be overriden");}
	
	public Long getId(){
		return id;
	}
	
	public void setId(Long id){
		this.id=id;
	}
	
	public void setTimeFrom(Date timeFrom){
		this.timeFrom=timeFrom;
	}
	
	public Date getTimeFrom(){
		return timeFrom;
	}
	
	public void setTimeTo(Date timeTo){
		this.timeTo=timeTo;
	}
	
	public Date getTimeTo(){
		return timeTo;
	}
	
	public FrontDesk getOperator(){
		return operator;
	}
	
	public void setOperator(FrontDesk operator){
		this.operator=operator;
	}
}
